<div class="add_notice_box" @downIn>
  <div class="add_notice_content">
    <div class="add_notice_title"> <input nz-input placeholder="请输入公告标题" nzSize="large" onfocus="placeholder=''" [(ngModel)]="addNotice.title"></div>
    <div class="add_notice_editor" *ngIf="addNotice.imgUpload">
      <div zeditor supportImg={{addNotice.imgUpload}} class="rich"  (onGetJSON)="getJSON($event)" initData="{{addNotice.content}}">
        <div class="editor" >
          <div class="select_peoples">
            <div class="select_title clearfix">
              <div class="select_title_font">发布范围：{{addNotice.className}}<span>（{{addNotice.selectTatol}}/{{addNotice.studentArr.length}}人）</span></div>
              <div class="select_all f_r ">
                <label nz-checkbox [(ngModel)]="addNotice.selectAll"  [nzDisabled]="addNotice.studentArr.length==0" (ngModelChange)="addNotice.SelectAll($event)">全部选择</label>
              </div>
            </div>
            <div class="select_content">
                  <div class="people" *ngFor="let stu of addNotice.studentArr;let i = index;" >
                    <label nz-checkbox [(ngModel)]="stu.isSelect" (ngModelChange)="addNotice.countSelect($event,i)">{{stu.Name}}</label>
                  </div>
                  <div class="tip" *ngIf="addNotice.studentArr.length==0">还没有学生加入该花名册，快去通知学生加入花名册吧~~</div>
            </div>
          </div>
          <div class="select_btn">
           <span (click)="uploadNotice()"><button class="zeditor-submit-btn">确定发布</button></span>
            <button class="cancel_btn" (click)="onClose()">取消</button>
          </div>
        </div>
      </div>
    </div>

  </div>

</div>

